﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using ElectronicsMarket.Service.Models;

namespace ElectronicsMarket.Service.IService
{
    [ServiceContract]
    interface IOrderDetailsServices
    {
        [OperationContract]
        List<ORDERS_DETAIL> getOrderDetailByID(int id);

        [OperationContract]
        bool addNewOrderDetail(long orderId, long productId, int amount, decimal price);
    }
}
